import {callApiRequest} from '../utils/api'
import constant from '../utils/constants'

export const createUser = async (params) => {
    let resp = await callApiRequest(`${constant.TestUrl1}/api/users`, {
        verb: 'post',
        params: params
    })
    return resp
}

export const getBitcoinPrice = async (params) => {
    let resp = await callApiRequest(`${constant.TestUrl2}/v1/ticker/`, {
        verb: 'get',
        params: params
    })
    return resp
}
